Click or drag to resize

MediaFormatCollection Class

Represents a collection of media formats.
Inheritance Hierarchy
SystemObject
  Independentsoft.Sip.SdpMediaFormatCollection

Namespace:  Independentsoft.Sip.Sdp
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public class MediaFormatCollection : ICollection, 
	IEnumerable

The MediaFormatCollection type exposes the following members.

Constructors
  NameDescription
Public methodMediaFormatCollection
Initializes a new instance of the MediaFormatCollection class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements in the MediaFormatCollection.
Public propertyFormats
Gets array of media formats.
Public propertyIsSynchronized
Gets a value indicating whether access to the MediaFormatCollection is synchronized (thread-safe).
Public propertyItem
Gets phone number associated with the specified position. In C#, this property is the indexer for the MediaFormatCollection class.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the MediaFormatCollection.
Top
Methods
  NameDescription
Public methodAdd
Adds media format to the collection.
Public methodClear
Removes all elements from the MediaFormatCollection.
Public methodCopyTo
Copies an MediaFormatCollection array to the collection, starting at a specified target index.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Returns an IEnumerator that can iterate through the MediaFormatCollection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
Removes the specified media format from the collection, if it is present.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Overrides ObjectToString.)
Top
See Also